1 '------------------------------------------------------------------------------
2 ' <auto-generated>
3 ' This code was generated by a tool.
4 ' Runtime Version:4.0.30319.42000
5 '
6 ' Changes to this file may cause incorrect behavior and will be lost if
7 ' the code is regenerated.
8 ' </auto-generated>
9 '------------------------------------------------------------------------------
10
11 Option Strict Off
12 Option Explicit On
13
14 Imports CrystalDecisions.CrystalReports.Engine
15 Imports CrystalDecisions.ReportSource
16 Imports CrystalDecisions.Shared
17 Imports System
18 Imports System.ComponentModel
19
20
21 Public Class rptInvoice1
22 Inherits ReportClass
23
24 Public Sub New()
25 MyBase.New
26 End Sub
27
28 Public Overrides Property ResourceName() As String
29 Get
30 Return "rptInvoice1.rpt"
31 End Get
32 Set
33 'Do nothing
34 End Set
35 End Property
36
37 Public Overrides Property NewGenerator() As Boolean
38 Get
39 Return true
40 End Get
41 Set
42 'Do nothing
43 End Set
44 End Property
45
46 Public Overrides Property FullResourceName() As String
47 Get
48 Return "Sales_and_Inventory_System.rptInvoice1.rpt"
49 End Get
50 Set
51 'Do nothing
52 End Set
53 End Property
54
55 <Browsable(false), _
56 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
57 Public ReadOnly Property Section1() As CrystalDecisions.CrystalReports.Engine.Section
58 Get
59 Return Me.ReportDefinition.Sections(0)
60 End Get
61 End Property
62
63 <Browsable(false), _
64 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
65 Public ReadOnly Property Section2() As CrystalDecisions.CrystalReports.Engine.Section
66 Get
67 Return Me.ReportDefinition.Sections(1)
68 End Get
69 End Property
70
71 <Browsable(false), _
72 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
73 Public ReadOnly Property GroupHeaderSection1() As CrystalDecisions.CrystalReports.Engine.Section
74 Get
75 Return Me.ReportDefinition.Sections(2)
76 End Get
77 End Property
78
79 <Browsable(false), _
80 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
81 Public ReadOnly Property Section3() As CrystalDecisions.CrystalReports.Engine.Section
82 Get
83 Return Me.ReportDefinition.Sections(3)
84 End Get
85 End Property
86
87 <Browsable(false), _
88 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
89 Public ReadOnly Property GroupFooterSection1() As CrystalDecisions.CrystalReports.Engine.Section
90 Get
91 Return Me.ReportDefinition.Sections(4)
92 End Get
93 End Property
94
95 <Browsable(false), _
96 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
97 Public ReadOnly Property Section4() As CrystalDecisions.CrystalReports.Engine.Section
98 Get
99 Return Me.ReportDefinition.Sections(5)
100 End Get
101 End Property
102
103 <Browsable(false), _
104 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
105 Public ReadOnly Property Section5() As CrystalDecisions.CrystalReports.Engine.Section
106 Get
107 Return Me.ReportDefinition.Sections(6)
108 End Get
109 End Property
110
111 <Browsable(false), _
112 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
113 Public ReadOnly Property Parameter_p1() As CrystalDecisions.[Shared].IParameterField
114 Get
115 Return Me.DataDefinition.ParameterFields(0)
116 End Get
117 End Property
118
119 <Browsable(false), _
120 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
121 Public ReadOnly Property Parameter_p2() As CrystalDecisions.[Shared].IParameterField
122 Get
123 Return Me.DataDefinition.ParameterFields(1)
124 End Get
125 End Property
126 End Class
127
128 <System.Drawing.ToolboxBitmapAttribute(GetType(CrystalDecisions.[Shared].ExportOptions), "report.bmp")> _
129 Public Class CachedrptInvoice1
130 Inherits Component
131 Implements ICachedReport
132
133 Public Sub New()
134 MyBase.New
135 End Sub
136
137 <Browsable(false), _
138 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
139 Public Overridable Property IsCacheable() As Boolean Implements CrystalDecisions.ReportSource.ICachedReport.IsCacheable
140 Get
141 Return true
142 End Get
143 Set
144 '
145 End Set
146 End Property
147
148 <Browsable(false), _
149 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
150 Public Overridable Property ShareDBLogonInfo() As Boolean Implements CrystalDecisions.ReportSource.ICachedReport.ShareDBLogonInfo
151 Get
152 Return false
153 End Get
154 Set
155 '
156 End Set
157 End Property
158
159 <Browsable(false), _
160 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
161 Public Overridable Property CacheTimeOut() As System.TimeSpan Implements CrystalDecisions.ReportSource.ICachedReport.CacheTimeOut
162 Get
163 Return CachedReportConstants.DEFAULT_TIMEOUT
164 End Get
165 Set
166 '
167 End Set
168 End Property
169
170 Public Overridable Function CreateReport() As CrystalDecisions.CrystalReports.Engine.ReportDocument Implements CrystalDecisions.ReportSource.ICachedReport.CreateReport
171 Dim rpt As rptInvoice1 = New rptInvoice1()
172 rpt.Site = Me.Site
173 Return rpt
174 End Function
175
176 Public Overridable Function GetCustomizedCacheKey(ByVal request As RequestContext) As String Implements CrystalDecisions.ReportSource.ICachedReport.GetCustomizedCacheKey
177 Dim key As [String] = Nothing
178 '// The following is the code used to generate the default
179 '// cache key for caching report jobs in the ASP.NET Cache.
180 '// Feel free to modify this code to suit your needs.
181 '// Returning key == null causes the default cache key to
182 '// be generated.
183 '
184 'key = RequestContext.BuildCompleteCacheKey(
185 ' request,
186 ' null, // sReportFilename
187 ' this.GetType(),
188 ' this.ShareDBLogonInfo );
189 Return key
190 End Function
191 End Class